<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>download </title>
  <style type="text/css">
    table { border-collapse:collapse; font:12px }
    th { background: #f4f4f4; cursor: pointer }
    th,td { padding:5px; border:black solid 1px; white-space:nowrap }
  </style>
</head>
<body>
<div class="tb1">
<table>
<thead>
  <tr><th>文件名称 </th><th class="number">文件大小 Kb</th></tr>
</thead>
<tbody>
{% for k,v in files.items() %}
  <tr><td><a href="/files/{{k}}">{{k}} </a> </td><td>{{v}} </td></tr>
{% endfor %}
</tbody>
</table>
</div>

</body>
</html>